.paper:hover {
    opacity: 1;
}

.paper {
    word-wrap: break-word;
    opacity: .8;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 20%;
    height: auto;
    padding: 20px 0;
    font-size: 12px;
    background: linear-gradient(to bottom right, var(--paper-dark), 20%, transparent), var(--paper-color);
    margin-bottom: 25px;
    margin-left: 12px;
    margin-right: 12px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    transition: all .5s linear;
}

.paper::after,
.big-paper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, 50%, var(--paper-dark), 51%, transparent),
        linear-gradient(to right, transparent, 50%, var(--paper-dark), 51%, transparent);
    left: 0;
}

.tape-corner::before,
.tape-corner::after {
    content: "";
    width: 10px;
    height: 5px;
    position: absolute;
    opacity: .5;
    border-left: 2px dotted gray;
    border-right: 2px dotted gray;
    background-color: #dbd8be;
}

.paper .tape-corner:first-of-type::before {
    transform: rotate(45deg);
    right: -4px;
    top: 1px;
}

.paper .tape-corner:first-of-type::after {
    transform: rotate(-45deg);
    left: -4px;
    top: 1px;
}

.paper .tape-corner:last-of-type::before {
    transform: rotate(45deg);
    left: -4px;
    bottom: -1px;
}

.paper .tape-corner:last-of-type::after {
    transform: rotate(-45deg);
    right: -4px;
    bottom: -1px;
}